//
//  JRAlertView.h
//  ikarosKit
//
//  Created by rui on 2024/10/17.
//

#import <ikarosKit/JRBaseView.h>

NS_ASSUME_NONNULL_BEGIN

@interface JRAlertView : JRBaseView

/// 弹窗视图
@property (nonatomic, weak, null_resettable) JRBaseView *containerView;
/// 点击弹窗外部是否关闭弹窗,  默认不可点击
@property (nonatomic, assign) BOOL isTouchDismiss;

- (void)show:(BOOL)animated completion:(nullable dispatch_block_t)completion;

- (void)dismiss:(BOOL)animated completion:(nullable dispatch_block_t)completion;

@end

NS_ASSUME_NONNULL_END
